package com.cgsd.heyu.ui.task.adapter;

import com.cgsd.heyu.R;
import com.cgsd.heyu.ui.task.vo.OptionVo;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

/**
 * Author：sky on 2021/3/24 21:53.
 * Email：xcode126@126.com
 * Desc：
 */
public class OptionAdapter extends BaseQuickAdapter<OptionVo, BaseViewHolder> {

    public OptionAdapter() {
        super(R.layout.item_option);
    }

    public OptionAdapter(List<OptionVo> list) {
        super(R.layout.item_option, list);
    }

    @Override
    protected void convert(BaseViewHolder helper, OptionVo item) {
        helper.setText(R.id.tv_content, item.text);
    }
}
